package singleton

import "sync"

type singleton struct {
}

var singl *singleton
var once sync.Once

func GetInstance() *singleton {
	once.Do(func() {
		singl = &singleton{}
	})
	return singl
}
